package com.sixbro.shiro.uaa.filter;

import com.sixbro.shiro.uaa.service.AccessTokenService;

import javax.servlet.Filter;

/**
 * <p>
 *
 * </p>
 *
 * @Author: Mr.Lu
 * @Since: 2020/6/19 17:51
 */
public class AuthServerFilterWrapper implements CustomFilterWrapper {

    private AccessTokenService accessTokenService;

    @Override
    public Filter getFilter() {
//    AuthServerFilter oAuth2ServerFilter = new AuthServerFilter();
////    oAuth2ServerFilter.setAccessTokenService(accessTokenService);
////    return oAuth2ServerFilter;
        return null;
    }

    @Override
    public String getName() {
        return "auth-server";
    }

    public void setAccessTokenService(AccessTokenService accessTokenService) {
        this.accessTokenService = accessTokenService;
    }

}